import Vue from 'vue'
import App from './App.vue'
// import 'ant-design-vue/dist/antd.less'
import store from './store'

import router from './router'
// 分辨率适配
import './utils/viewport'
// 重置样式
import 'reset-css/reset.css'
// 引入UI库
import { message,notification } from 'ant-design-vue'
import './utils/antdUi'
// vue-tree 组件
import Vue2OrgTree from 'vue2-org-tree';
//引入vue-awesome-swiper
import vueSwiper from 'vue-awesome-swiper'  
//引入样式
import 'swiper/dist/css/swiper.css'  
import $axios from './utils/ajax'
// 全局注册message、notification
Vue.prototype.$message = message;
Vue.prototype.$notification = notification;
// 全局注册axios
Vue.prototype.$axios = $axios;
// 架构图插件
Vue.use(Vue2OrgTree)
//轮播图插件
Vue.use(vueSwiper)  
Vue.config.productionTip = false

window.console.log(process.env, 'eeeee')
// 局部引入
// import Button from 'ant-design-vue/lib/button'
// import 'ant-design-vue/lib/button/style'
// Vue.use(Button)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
